[DEPRECATED: use
GET /manage/v3
and
POST /manage/v3
instead.]
name
) is in the
named package (pkgname
). 200 OK
is returned if the named
database is in the package. Otherwise 404 Not Found
is returned.
Upon success, MarkLogic Server returns status code 200 (OK). The response body contains the requested data.
manage-user
role, or the
following privilege:
http://marklogic.com/xdmp/privileges/manage
curl -i -X HEAD --digest -u admin:admin \ "http://localhost:8002/manage/v2/packages/test-package/databases/Documents" ==> Checks for the existence of the 'Documents' database in the package, "test-package."
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.